<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title></title>
	</head>
	<link href="css/sicq_score.css" rel="stylesheet"/>
	<body>
		<div id="my_score"></div>
		<button id="getscore">获取评分</button>
	</body>
	<script src="js/jquery.js" type="text/javascript"></script>
	<script src="js/sicq.score.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			var score = $("#my_score").score({
				'fn_dClick':function(num){
					console.log(num);
				}
			});
			score.init();
			
			$('#getscore').click(function(){
				alert(score.getScore());
			});
			
			window.onresize = function(){
				score.resetScoreBoxHeight();
			}
		});
	</script>
</html>
